<%#
# edit.rhtml
# 
# Created on 2007-9-12, 17:10:30
# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>
<fieldset>
  <legend>修改分类</legend>
  <%form_for :category,:url=>{:action=>:update,:id=>@category} do |form|%>
    <p>
      <label for="category_name" >分类名称:</label>
      <%=form.text_field :name, :size=>40 %>
      <%=submit_tag "保存"%>
    </p>
  <%end%>
</fieldset>